#!/bin/bash

# glibc-static

yum -y install epel-release

#curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
#curl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo


yum -y install openssl-devel vim wget net-tools htop glances
yum -y install telnet nc lrzsz kernel kernel-devel kernel-headers dkms gcc gcc-c++ 
yum -y install perl make cmake autoconf traceroute zip unzip bzip2 git bash-completion
yum -y install python3-devel rpm-build glibc-static
yum -y install python-devel 



if [ -s /etc/selinux/config ] && grep 'SELINUX=enforcing' /etc/selinux/config; then
	sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config
	setenforce 0
fi


systemctl stop firewalld

systemctl disable firewalld


